package com.linzp.bishe.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.linzp.bishe.entity.Participants;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 林泽鹏
 * @since 2021-11-01
 */
public interface ParticipantsService extends IService<Participants> {
	public boolean updateNameByUsersId(Integer id,String name);

	public List<Participants> getListOfParticipants(Integer fk,String tableName);

	public void saveListOfParticipants(List<Participants> list,Integer fk,String tableName);

	public void dealParticipants(List<Participants> list,String tableName,Integer fkId);

	public void removeListById(List<Participants> list);

	public Integer getCountParticipants(Integer fk,String tableName);
}
